<h2>Details of the tweets are here</h2>

<table>
    <tr>
    </tr>
    <tr>
        <?php foreach ($originaltweet as $post): ?>

            <th>
                <?php echo ($post['Post']['text']); ?></th>

        <?php endforeach; ?>
        <?php foreach ($favourites as $post): ?>
        <tr>
            <td>
                <?php echo "Number of favourites for original tweet is : " . $post['Favourites']; ?></td>
        </tr>
    <?php endforeach; ?>

    <tr>
        <td>
            <?php echo "Number of retweets for original tweet is : " . $retweets; ?></td>
    </tr>
    <td>
        <?php if($retweets>0) echo $this->Html->link('Retweet Details', array('controller' => 'tweets', 'action' => 'retweetAccounts', $id)); ?> 
    </td>

</tr>
<td style="color:red";><b>Replies</b></td>
<?php if ($reply != null)
    foreach ($reply as $post): ?>
        <tr>
            <td>
                <?php echo ($post['Post']['text']); ?></td>
        </tr>
    <?php endforeach; ?>

</table>